package com.learner.major.repository;

import com.learner.pojo.infos.Infors;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;
/**
* @author ice2020x
* @Date: 2023/3/23
* @Description:
**/
@Repository
public interface InfoRepository extends MongoRepository<Infors, String> {
    Page<Infors> findAllByCategory(String cateGory, Pageable pageable);
}
